**** dT 0.000 * top TEST ../../../../bin/varnishtest/tests/r02258.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:41461 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.2210220.23c73d3a **** top macro def vtcid=vtc.2210220.23c73d3a ** top === varnishtest "Streaming range premature finish" * top VTEST Streaming range premature finish ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=45567 **** s1 macro def s1_sock=127.0.0.1:45567 * s1 Listen on 127.0.0.1:45567 ** top === varnish v1 -vcl+backend { } -start ** s1 Started on 127.0.0.1:45567 (1 iterations) **** dT 0.004 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.2210220.23c73d3a/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46107' -P /home/linux1/VT/_vtest_tmp/vtc.2210220.23c73d3a/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 CMD: cd /home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.2210220.23c73d3a/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46107' -P /home/linux1/VT/_vtest_tmp/vtc.2210220.23c73d3a/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs *** v1 PID: 2210239 **** v1 macro def v1_pid=2210239 **** v1 macro def v1_name=/home/linux1/VT/_vtest_tmp/vtc.2210220.23c73d3a/v1 **** dT 0.006 *** v1 debug|Info: Working directory not mounted on tmpfs partition **** dT 0.010 *** v1 debug|Debug: Version: varnish-trunk revision df8ee3355e519bdc9bdb33dc154769bcf7b3d13f *** v1 debug|Debug: Platform: Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|200 329 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision df8ee3355e519bdc9bdb33dc154769bcf7b3d13f *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.112 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 7 *** v1 CLI RX 107 **** v1 CLI RX|shdvvugrtiejgrjnfjnsncoupyjuluge **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.113 **** v1 CLI TX|auth 463160351e3c2b8b71b4a4dbb8e7f51ffac820d74e9a252d7c7426172f86e76d *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision df8ee3355e519bdc9bdb33dc154769bcf7b3d13f **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** dT 0.114 **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "45567"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.219 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.320 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.421 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.526 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.629 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.733 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.836 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.846 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 0.852 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 0.911 *** v1 debug|Debug: Child (2210252) Started **** dT 0.981 *** v1 debug|Child launched OK **** dT 0.991 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status **** dT 0.992 *** v1 debug|Info: Child (2210252) said Child starts **** dT 0.993 *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 1.040 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1736873894.875961/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1736873894.875961/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:33303 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:33303 **** v1 vsl| 0 CLI - Wr 200 0 **** dT 1.041 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 33303 **** v1 CLI TX|debug.xid 1000 **** dT 1.116 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 1.142 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 33303 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 1.177 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 33303 ** v1 Listen on 127.0.0.1 33303 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=33303 **** v1 macro def v1_sock=127.0.0.1:33303 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=33303 **** v1 macro def v1_a0_sock=127.0.0.1:33303 ** top === logexpect l1 -v v1 -g session { ** l1 === expect 0 1000 Begin sess ** l1 === expect * = SessClose RANGE_SHORT ** top === client c1 { **** dT 1.178 ** c1 Starting client ** c1 Waiting for client **** dT 1.180 ** c1 Started on 127.0.0.1:33303 (1 iterations) *** c1 Connect to 127.0.0.1:33303 **** l1 begin| *** l1 test | expect 0 1000 Begin sess *** c1 connected fd 22 from 127.0.0.1 48032 to 127.0.0.1:33303 ** c1 === txreq -hdr "range: bytes=0-16" **** c1 txreq|GET / HTTP/1.1\r **** c1 txreq|range: bytes=0-16\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp -no_obj **** dT 1.202 *** s1 accepted fd 5 127.0.0.1 39772 ** s1 === rxreq **** s1 rxhdr|GET / HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|Accept-Encoding: gzip\r **** s1 rxhdr|X-Varnish: 1002\r **** s1 rxhdr|\r **** s1 rxhdrlen = 148 **** s1 http[ 0] |GET **** s1 http[ 1] |/ **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |Accept-Encoding: gzip **** s1 http[ 8] |X-Varnish: 1002 **** s1 bodylen = 0 ** s1 === txresp -nolen -hdr "Content-length: 9" **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Content-length: 9\r **** s1 txresp|Date: Tue, 14 Jan 2025 16:58:15 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|\r ** s1 === delay 1 *** s1 delaying 1 second(s) **** dT 1.212 **** c1 rxhdr|HTTP/1.1 206 Partial Content\r **** c1 rxhdr|Content-length: 9\r **** c1 rxhdr|Date: Tue, 14 Jan 2025 16:58:15 GMT\r **** c1 rxhdr|Server: s1\r **** c1 rxhdr|X-Varnish: 1001\r **** c1 rxhdr|Age: 0\r **** c1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** c1 rxhdr|Accept-Ranges: bytes\r **** c1 rxhdr|Content-Range: bytes 0-8/9\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 228 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |206 **** c1 http[ 2] |Partial Content **** c1 http[ 3] |Content-length: 9 **** c1 http[ 4] |Date: Tue, 14 Jan 2025 16:58:15 GMT **** c1 http[ 5] |Server: s1 **** c1 http[ 6] |X-Varnish: 1001 **** c1 http[ 7] |Age: 0 **** c1 http[ 8] |Via: 1.1 v1 (Varnish/trunk) **** c1 http[ 9] |Accept-Ranges: bytes **** c1 http[10] |Content-Range: bytes 0-8/9 **** c1 http[11] |Connection: keep-alive ** c1 === expect resp.status == 206 **** c1 EXPECT resp.status (206) == "206" match ** c1 === expect resp.http.content-length == 9 **** c1 EXPECT resp.http.content-length (9) == "9" match ** c1 === recv 8 **** dT 1.244 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 33303 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 48032 a0 127.0.0.1 33303 1736873895.946729 22 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:33303 **** v1 vsl| 1000 Link c req 1001 rxreq **** dT 2.281 ** s1 === send "BLA" **** s1 send|BLA ** s1 === delay .4 *** s1 delaying 0.4 second(s) **** dT 2.319 **** c1 recv|BLA **** dT 2.682 ** s1 === send "BLA" **** s1 send|BLA ** s1 === delay .3 *** s1 delaying 0.3 second(s) **** dT 2.790 **** c1 recv|BLA **** dT 2.986 ** s1 === send "BL" **** s1 send|BL ** s1 === delay .3 *** s1 delaying 0.3 second(s) **** dT 3.287 *** s1 shutting fd 5 ** s1 Ending **** dT 3.301 **** v1 vsl| 1002 Begin b bereq 1001 fetch **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1736873895.960345 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b / **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1002 BereqHeader b X-Varnish: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b fetch **** v1 vsl| 1002 Timestamp b Fetch: 1736873895.960370 0.000025 0.000025 **** v1 vsl| 1002 Timestamp b Connected: 1736873895.960433 0.000088 0.000063 **** v1 vsl| 1002 BackendOpen b 25 s1 127.0.0.1 45567 127.0.0.1 39772 connect **** v1 vsl| 1002 Timestamp b Bereq: 1736873895.960459 0.000114 0.000025 **** v1 vsl| 1002 BerespProtocol b HTTP/1.1 **** v1 vsl| 1002 BerespStatus b 200 **** v1 vsl| 1002 BerespReason b OK **** v1 vsl| 1002 BerespHeader b Content-length: 9 **** v1 vsl| 1002 BerespHeader b Date: Tue, 14 Jan 2025 16:58:15 GMT **** v1 vsl| 1002 BerespHeader b Server: s1 **** v1 vsl| 1002 Timestamp b Beresp: 1736873895.964507 0.004162 0.004047 **** v1 vsl| 1002 TTL b RFC 120 10 0 1736873896 1736873896 1736873895 0 0 cacheable **** v1 vsl| 1002 VCL_call b BACKEND_RESPONSE **** v1 vsl| 1002 VCL_return b deliver **** v1 vsl| 1002 Timestamp b Process: 1736873895.964531 0.004185 0.000023 **** v1 vsl| 1002 Filters b **** v1 vsl| 1002 Storage b malloc s0 **** v1 vsl| 1002 Fetch_Body b 3 length stream **** v1 vsl| 1002 FetchError b straight insufficient bytes **** v1 vsl| 1002 BackendClose b 25 s1 close RX_BODY **** v1 vsl| 1002 BereqAcct b 148 0 148 87 8 95 **** v1 vsl| 1002 End b **** dT 3.747 ---- c1 recv() got 0 (Success) **** dT 3.748 * top RESETTING after ../../../../bin/varnishtest/tests/r02258.vtc ** l1 Waiting for logexp ** s1 Waiting for server (4/-1) ** v1 Wait **** v1 CLI TX|panic.show **** dT 3.795 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared **** dT 3.796 *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 3.829 **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1736873895.946771 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1736873895.946771 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 48032 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c / **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c range: bytes=0-16 **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 VCL_return c hash **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 VCL_call c MISS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 fetch **** v1 vsl| 1001 Timestamp c Fetch: 1736873895.970415 0.023644 0.023644 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 200 **** v1 vsl| 1001 RespReason c OK **** v1 vsl| 1001 RespHeader c Content-length: 9 **** v1 vsl| 1001 RespHeader c Date: Tue, 14 Jan 2025 16:58:15 GMT **** v1 vsl| 1001 RespHeader c Server: s1 **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 RespHeader c Age: 0 **** v1 vsl| 1001 RespHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 RespHeader c Accept-Ranges: bytes **** v1 vsl| 1001 VCL_call c DELIVER **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1736873895.970439 0.023668 0.000024 **** v1 vsl| 1001 Filters c range **** v1 vsl| 1001 RespHeader c Content-Range: bytes 0-8/9 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 206 **** v1 vsl| 1001 RespReason c Partial Content **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 Timestamp c Resp: 1736873898.506857 2.560086 2.536417 **** v1 vsl| 1001 ReqAcct c 70 0 70 228 6 234 **** v1 vsl| 1001 End c **** v1 vsl| 1000 SessClose c RANGE_SHORT 2.560 **** v1 vsl| 1000 End c **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 3.901 *** v1 debug|Info: Child (2210252) said Child dies *** v1 debug|Info: Child (2210252) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** v1 STDOUT EOF **** dT 3.932 ** v1 WAIT4 pid=2210239 status=0x0000 (user 0.227538 sys 0.028065) * top TEST ../../../../bin/varnishtest/tests/r02258.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/r02258.vtc FAILED (3.941) exit=2 FAIL tests/r02258.vtc (exit status: 2)